<template>

    <div>
        <el-row :gutter="20">
            <el-col :span="6">
                地图组件：
                <router-link to="/demo/openlayers/ex1">入门</router-link>&nbsp;
                <router-link to="/demo/openlayers/ex2">示例2</router-link>&nbsp;
                <router-link to="/demo/openlayers/editor">编辑器</router-link>&nbsp;
            </el-col>
            <el-col :span="18">
                <router-view :key="$route.fullPath"></router-view>
            </el-col>
        </el-row>
    </div>

</template>

<script>


    export default {
        name: "openlayers",
        data() {
            return {
                map: null,
            }
        },
        mounted() {
            //this.$router.push({path: '/openlayers/ex1'});
        },
        methods: {}
    }
</script>

<style scoped>
    #map {
        width: 1000px;
        height: 600px;
    }
</style>